package cn.yangliu.nacos.comm.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * The type of nacos.
 *
 * @author 问道于盲
 * @date 2019 -12-31
 */
@ConfigurationProperties(prefix = "oauth2")
@Data
public class Oauth2Properties {

    /**
     * current class instance's member.
     * The Client id.
     */
    private String clientId;

    /**
     * current class instance's member.
     * The Client secret.
     */
    private String clientSecret;

    /**
     * oauth2 server url
     */
    private String url = "";
}
